home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual BASIC 5.0 (Ent. Edition) / Vb5ent Extractor.EXE / VB / SAMPLES / ENTRPRIS / APE / AEINTRFC / AEINTRFC.ODL
Encoding:
Text File  |  1996-12-04  |  2.3 KB  |  74 lines

  1. /* Textual file for type library: AEIntrfc.tlb
  2. Provides standard interfaces to be implemented by Visual Basic 5 build
  3. VB5 component, Application Performance Explorer */
  4.  
  5. [
  6.     helpstring("Application Performance Explorer, Standard Interfaces"),
  7.     lcid(9),
  8.     version(1.0),
  9.     uuid(54CDFB53-F230-11CF-9B49-00AA0069522B)
  10. library APEInterfaces
  11. {
  12.     importlib("stdole2.tlb");
  13.  
  14.     [odl,
  15.     version(1.0),
  16.     uuid(54CDFB51-F230-11CF-9B49-00AA0069522B),
  17.     dual,
  18.     helpstring("APE client callback objects must implement this interface.")] 
  19.     interface Client:IDispatch
  20.     {
  21.         [helpstring("The AEExpediter.Expediter object calls this method to return Service Request results.")]
  22.         HRESULT CallBack(
  23.             [in] long lServiceID,
  24.             [in] VARIANT vServiceReturn,
  25.             [in] BSTR sServiceError);
  26.     }
  27.  
  28.     [odl,
  29.     version(1.0),
  30.     uuid(7F84ACDF-F23A-11CF-9B49-00AA0069522B),
  31.     dual,
  32.     helpstring("Service objects must implement this interface for AEWorker.Worker objects to use early binding.")] 
  33.     interface Service:IDispatch
  34.     {
  35.         [helpstring("AEWorker.Worker objects call this method when using early binding.")]
  36.         HRESULT Execute(
  37.             [in, out] BSTR * sCommand,
  38.             [in, out, optional] VARIANT * vServiceData,
  39.             [in, out, optional] VARIANT * vReturn);
  40.     }
  41.  
  42.     [odl,
  43.     version(1.0),
  44.     uuid(7F84ACE8-F23A-11CF-9B49-00AA0069522B),
  45.     dual,
  46.     helpstring("Provides an interface for the AEExpediter and the AEWorker to interact with the AEQueueMgr.")] 
  47.     interface QueueDelegator:IDispatch
  48.     {
  49.         [helpstring("Provides an interface for the AEWorker to return a Service Request result and to receive a new Service Request.")]
  50.         HRESULT GetServiceRequest(
  51.             [in] long lWorkerID,
  52.             [in,defaultvalue(0)] LONG lReturnServiceID,
  53.             [in,optional] VARIANT  vReturnData,
  54.             [in,defaultvalue("")] BSTR  sReturnError,
  55.             [out, retval] VARIANT * vReturn);
  56.  
  57.         [helpstring("Provides an interface for the AEExpediter to receive Service Request results that need returned to clients.")]
  58.         HRESULT GetServiceResults(
  59.             [out, retval] VARIANT * vReturn);
  60.     }
  61.     [odl,
  62.     version(1.0),
  63.     uuid(B5BBF570-26B4-11d0-B73C-00AA0069522B),
  64.     dual,
  65.     helpstring("Provides an interface for APE client objects to call the AEManager.")] 
  66.     interface Manager:IDispatch
  67.     {
  68.         [helpstring("Notifies the AEManager that the calling client has completed a test.")]
  69.         HRESULT Done(
  70.             [in,defaultvalue("")] BSTR sReturnMessage);
  71.     }
  72. }
  73.